import { FC } from 'react';
import { Card, Space } from 'antd';

interface PropType {
  title: string;
}

const CardSpace: FC<PropType> = (props) => {
  return (
    <Card title={props.title}>
      <Space>{props.children}</Space>
    </Card>
  );
};

export default CardSpace;
